tools/libx{l, c}: Fix trivial Coverity defects in migration v2 code
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 20 Jul 2015 10:37:59 +0000 (11:37 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 28 Jul 2015 10:11:59 +0000 (11:11 +0100)
commit6094fe493701095414108ead0f100b18af1ccd04
tree679aab3a7cc3b89f708fb41794ec37290d0bc6b1
parent5850b0317d20e6139d74e45c4fd87ae318ce7ee1
tools/libx{l, c}: Fix trivial Coverity defects in migration v2 code

All of these are UNUSED_VALUE defects where a default value is
unconditionally overwritten.  They are not particularly interesting,
bug wise, but keeping these defects at bay helps prevent real bugs
going unnoticed in the volume.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xc_sr_save.c
tools/libxl/libxl_stream_read.c